﻿namespace CodeContrib
{
	public static class CalculatorExtensions
	{
		public static decimal Calculate(this string expression)
		{
			var calculator = new Calculator();

			return calculator.Calculate(expression);
		}
	}
}